package com.hc.oa.model;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;

/**
 * bdf2_assertion:
 */
@Entity
@Table(name = "bdf2_assertion")
public class Bdf2Assertion implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * Assert_id:
	 */
	private int assertId;

	/**
	 * Assert_inputdate:
	 */
	private Date assertInputdate;

	/**
	 * Assert_inputpeople:
	 */
	private String assertInputpeople;

	/**
	 * Assert_name:
	 */
	private String assertName;

	/**
	 * Assert_people:
	 */
	private String assertPeople;

	/**
	 * Assert_returndate:
	 */
	private Date assertReturndate;

	/**
	 * Assert_status:
	 */
	private String assertStatus;

	/**
	 * Assert_type:
	 */
	private String assertType;

	public Bdf2Assertion() {
		super();
	}

	public Bdf2Assertion(int assertId, Date assertInputdate,
			String assertInputpeople, String assertName, String assertPeople,
			Date assertReturndate, String assertStatus, String assertType) {
		super();
		this.assertId = assertId;
		this.assertInputdate = assertInputdate;
		this.assertInputpeople = assertInputpeople;
		this.assertName = assertName;
		this.assertPeople = assertPeople;
		this.assertReturndate = assertReturndate;
		this.assertStatus = assertStatus;
		this.assertType = assertType;
	}

	public void setAssertId(int assertId) {
		this.assertId = assertId;
	}

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "Assert_id", nullable = false)
	public int getAssertId() {
		return assertId;
	}

	public void setAssertInputdate(Date assertInputdate) {
		this.assertInputdate = assertInputdate;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "Assert_inputdate")
	public Date getAssertInputdate() {
		return assertInputdate;
	}

	public void setAssertInputpeople(String assertInputpeople) {
		this.assertInputpeople = assertInputpeople;
	}

	@Column(name = "Assert_inputpeople", length = 50)
	public String getAssertInputpeople() {
		return assertInputpeople;
	}

	public void setAssertName(String assertName) {
		this.assertName = assertName;
	}

	@Column(name = "Assert_name", length = 50)
	public String getAssertName() {
		return assertName;
	}

	public void setAssertPeople(String assertPeople) {
		this.assertPeople = assertPeople;
	}

	@Column(name = "Assert_people", length = 50)
	public String getAssertPeople() {
		return assertPeople;
	}

	public void setAssertReturndate(Date assertReturndate) {
		this.assertReturndate = assertReturndate;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "Assert_returndate")
	public Date getAssertReturndate() {
		return assertReturndate;
	}

	public void setAssertStatus(String assertStatus) {
		this.assertStatus = assertStatus;
	}

	@Column(name = "Assert_status", length = 4)
	public String getAssertStatus() {
		return assertStatus;
	}

	public void setAssertType(String assertType) {
		this.assertType = assertType;
	}

	@Column(name = "Assert_type", length = 50)
	public String getAssertType() {
		return assertType;
	}

	public String toString() {
		return "Bdf2Assertion [assertId=" + assertId + ",assertInputdate="
				+ assertInputdate + ",assertInputpeople=" + assertInputpeople
				+ ",assertName=" + assertName + ",assertPeople=" + assertPeople
				+ ",assertReturndate=" + assertReturndate + ",assertStatus="
				+ assertStatus + ",assertType=" + assertType + "]";
	}

}
